<template>
  <div>
    <input
      v-bind='$attrs'
      v-on='mylisteners'
      type="text"
      :value='value'
      @input='qq'
    >
  </div>
</template>
<script>
// @ is an alias to /src
export default {
  props: ["value"],
  data() {
    return {
      mylisteners: {},
    };
  },
  created() {
    console.log(this.$listeners);
    for (let k in this.$listeners) {
      if (k !== "input") {
        this.mylisteners[k] = this.$listeners[k];
      }
    }
  },
  methods: {
    qq(e) {
      // debugger;
      this.$emit("input", e.target.value);
    },
  },
};
</script>
<style lang="less">
</style>